<?php

class Login {
	/**
	 * Login to the service
	 *
	 * @param string $login
	 * @param string $password
	 * @return boolean
	 */
	public function login($login, $password) {
		try {
			return $login == "toto" && $password == "test";
		} catch (Exception $e) {
			return false;
		}
	}
}

?>
